package cl.executor;

import org.springframework.beans.factory.xml.XmlBeanFactory;
import org.springframework.core.io.ClassPathResource;

import cl.url.Url2Extract;

public class Main {
  public static void main(String[] args) throws Exception {
	  
    XmlBeanFactory factory = new XmlBeanFactory(new ClassPathResource("context.xml"));
    Url2Extract url2Extract = (Url2Extract) factory.getBean("urlRegion13");
    System.out.println(url2Extract.getUrl());
  }

}
